#!/bin/sh
#
# =========================================
# = 
# =  Backup do servidor GRANDE
# =
# =========================================
#

service mysqld stop

tar -cvf /dev/st0 /etc /var/lib /var/www /usr /home 

service mysqld start
service httpd restart

mt -f /dev/st0 eject

# Limpeza da fita         : mt -f /dev/st0 erase
# Voltar fita             : mt -f /dev/st0 rewind
# Listar conteudo da fita : tar tvf /dev/st0
#
# backup                  : tar -cv -T /backup/lista_backup -f /dev/st0

